<template>
  <div>
    <h1>欢迎</h1>

    <slot name="default" :a="msg" b="2" :title="title"></slot>
  </div>
</template>

<script>
export default {
  props: ["title"],
  data() {
    return {
      msg: "HelloWorld",
    };
  },
};
</script>
